package gameserver.model.templates.stats;

import gameserver.model.gameobjects.stats.modifiers.AddModifier;
import gameserver.model.gameobjects.stats.modifiers.MultiplyModifier;
import gameserver.model.gameobjects.stats.modifiers.StatModifier;

import java.util.TreeSet;

import javax.xml.bind.annotation.*;

@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement(name = "modifiers")
public class ModifiersTemplate
{
	@XmlElements({
        @XmlElement(name = "mul", type = MultiplyModifier.class),
        @XmlElement(name = "add", type = AddModifier.class)
    })
    
    private TreeSet<StatModifier> modifiers;

    public TreeSet<StatModifier> getModifiers() {
        return modifiers;
    }
}
